package com.shuhan.entity;

/**
 * --- 万物归集  不随你我 ---
 * <p>
 * 快捷短语
 * main ==  public static void main(String[] args);
 * sout ==  System.out.println();
 *
 * @author shuhan
 * @date 2025/4/3
 * @desc
 */
public class User {

    //todo: 接收数据未写完，要把它补充完整
    private int id;
    private String username;
    private String password;
    private double score;
    private String birthday;
    private String edu;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", score=" + score +
                ", birthday='" + birthday + '\'' +
                ", edu='" + edu + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getEdu() {
        return edu;
    }

    public void setEdu(String edu) {
        this.edu = edu;
    }

    public User() {
    }

    public User(int id, String username, String password, double score, String birthday, String edu) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.score = score;
        this.birthday = birthday;
        this.edu = edu;
    }
}
